/**
 * 
 */
package com.bootdo.lgs.orderbind.service;

import com.bootdo.lgs.orderbind.model.OrderBindQuery;
import com.bootdo.lgs.orderbind.model.OrderBindUpdate;
import com.bootdo.lgs.orderbind.model.OrderBindUpload;
import com.bootdo.system.domain.UserDO;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author 1992lcg@163.com
 * @Time 2017年9月6日
 * @description
 * 
 */
@Service
public interface OrderBindService {

       List getList(OrderBindQuery condition);

       boolean batchUpdateLgsNumber(List<OrderBindUpdate> condition,UserDO loginUser);

       boolean updateLgsNumber(OrderBindUpdate condition,UserDO loginUser);

       boolean isTrackNumberRepeatWhenBind(OrderBindUpdate condition);

       boolean isTrackNumberRepeatWhenUpdate(OrderBindUpdate condition);

       boolean checkTrackNumber(Long orderId, String trackNumber);

       void exportMng(OrderBindQuery condition, HttpServletResponse response);

       boolean rollback(Map condition);

       //保存 回单图片 信息
       boolean updateReceiptPic(OrderBindUpload condition);
       //删除 回单图片
       boolean delReceipt(Long orderId);

}
